<div id="officeCallList">
  <gui:dataTable
    id="listOfficeCalls"
    allowExclusiveSort="true"
    columnDefs="[
        [key:'contact', sortable:true, resizeable:false, label:'Company Contact'],
        [key:'rep', sortable:true, resizeable:false, label:'Representative'],
        [key:'type', sortable:true, resizeable:false, label:'Type'],
        [key:'company', sortable:true, resizeable:false, label:'Company'],
        [key:'date', resizeable:false, label:'Date'],
        [key:'notes', resizeable:false, label:'Notes']
    ]"
    sortedBy="lastName"
    rowClickNavigation="true"
    controller="officeCall" action="listAsJSON"
    params="[companyId:companyId]"
    rowsPerPage="10"
  />
</div>
<br />
